.TH slice2cs 1

.SH NAME

slice2cs - The Slice to .NET C# compiler.

.SH SYNOPSIS

slice2cs [options] [files]

.SH DESCRIPTION

slice2cs compiles Slice files to .NET C#. Full documentation for slice2cs
is available online at: 
.br
"https://doc.zeroc.com/display/Ice37/slice2cs+Command-Line+Options".

.SH OPTIONS

.TP
.BR \-h ", " \-\-help\fR
.br
Displays a help message.

.TP
.BR \-v ", " \-\-version\fR
Displays the compiler version.

.TP
.BR \-DNAME\fR
.br
Defines the preprocessor symbol NAME.

.TP
.BR \-DNAME=DEF\fR
.br 
Defines the preprocessor symbol NAME with the value DEF.

.TP
.BR \-UNAME\fR
.br
Undefines the preprocessor symbol NAME.

.TP
.BR \-IDIR\fR
.br
Add the directory DIR to the search path for #include directives.

.TP
.BR \-E\fR
.br
Print the preprocessor output on stdout.

.TP
.BR \-\-output-dir " " DIR\fR
.br
Place the generated files into directory DIR.

.TP
.BR \-d ", " \-\-debug\fR
.br
Print debug information showing the operation of the Slice parser.

.TP
.BR \-\-ice\fR
.br
Permit use of the normally reserved prefix Ice for identifiers. Use this
option only when compiling the source code for the Ice run time.

.TP
.BR \-\-underscore\fR
.br
Permit use of underscores in Slice identifiers.

.TP
.BR \-\-tie\fR
.br
Generate tie classes.

.TP
.BR \-\-impl\fR
.br
Generate sample implementation files. This option will not overwrite an
existing file.

.TP
.BR \-\-impl\-tie
.br
Generate sample implementation files using tie classes. This option will not
overwrite an existing file.

.TP
.BR \-\-checksum " " CLASS\fR
.br
Generate checksums for Slice definitions.

.TP
.BR \-\-stream\fR
.br
Generate streaming helper functions for Slice types.

.SH SEE ALSO

.BR slice2cpp (1),
.BR slice2freeze (1),
.BR slice2freezej (1),
.BR slice2html (1),
.BR slice2java (1), 
.BR slice2php (1),
.BR slice2py (1),
.BR slice2rb (1)
